using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class FT_PKT_PS
    {
        public double Psid { get; set; }
        public short Storenum { get; set; }
        public short Regnum { get; set; }
        public string Id { get; set; }
        public Nullable<int> Pcode { get; set; }
        public string Tnumber { get; set; }
        public string Number { get; set; }
        public short Salesman { get; set; }
        public System.DateTime Date { get; set; }
        public string Time { get; set; }
        public Nullable<double> Subtotal { get; set; }
        public Nullable<double> Cost { get; set; }
        public Nullable<double> Salestax { get; set; }
        public Nullable<double> Gst { get; set; }
        public bool Posted { get; set; }
        public Nullable<double> Amtpdout { get; set; }
        public string Ccnum { get; set; }
        public string Ccexp { get; set; }
        public string Checknum { get; set; }
        public Nullable<bool> Void { get; set; }
        public short Custcurr { get; set; }
        public Nullable<double> Cashrcvd { get; set; }
        public Nullable<double> Chkrcvd { get; set; }
        public Nullable<double> Ccrcvd { get; set; }
        public Nullable<double> Chgrcvd { get; set; }
        public Nullable<short> Cashactcur { get; set; }
        public Nullable<double> Cashpaid { get; set; }
        public Nullable<double> Chkpaid { get; set; }
        public Nullable<double> Ccpaid { get; set; }
        public Nullable<double> Chgpaid { get; set; }
        public string Ponumber { get; set; }
        public string Authcode { get; set; }
        public Nullable<bool> Hold { get; set; }
        public string Reference { get; set; }
        public short Saletype { get; set; }
        public short Doctype { get; set; }
        public string Cashacct { get; set; }
        public string Comments { get; set; }
        public Nullable<double> Amtrecvd { get; set; }
        public string Howpaid { get; set; }
        public Nullable<bool> Onaccount { get; set; }
        public string Sonumber { get; set; }
        public Nullable<int> Contact { get; set; }
        public string Location { get; set; }
        public string Custname { get; set; }
        public Nullable<System.DateTime> Duedate { get; set; }
        public Nullable<bool> Closedout { get; set; }
        public string Arbatch { get; set; }
        public string Glbatch { get; set; }
        public string Arreference { get; set; }
        public Nullable<short> Mode { get; set; }
        public Nullable<int> Userid { get; set; }
        public Nullable<bool> Orderclosed { get; set; }
        public string Ordernum { get; set; }
        public string Quotenum { get; set; }
        public Nullable<System.DateTime> Quotexpiry { get; set; }
        public Nullable<int> Shipto { get; set; }
        public Nullable<System.DateTime> Expdelivdate { get; set; }
        public Nullable<System.DateTime> Delivdate { get; set; }
        public Nullable<byte> Tradetype { get; set; }
        public Nullable<double> Discval { get; set; }
        public Nullable<double> Total { get; set; }
        public string Userref { get; set; }
        public string Docnum { get; set; }
        public string Custphone { get; set; }
        public Nullable<int> Createuser { get; set; }
        public Nullable<int> Edituser { get; set; }
        public Nullable<int> Voiduser { get; set; }
        public Nullable<double> B1pdout { get; set; }
        public Nullable<double> B2pdout { get; set; }
        public Nullable<double> Changedue { get; set; }
        public string File_Primary_Key { get; set; }
        public Nullable<double> Tax { get; set; }
        public string Custaddr { get; set; }
        public string Lpo { get; set; }
        public short Cstctrid { get; set; }
        public string Delnotenum { get; set; }
        public Nullable<int> Doc_ref { get; set; }
        public Nullable<int> Duration { get; set; }
        public Nullable<System.DateTime> Dateordered { get; set; }
        public Nullable<bool> Production { get; set; }
        public Nullable<bool> Printworksheet { get; set; }
        public Nullable<short> Siteid { get; set; }
        public Nullable<System.DateTime> Timestmp { get; set; }
        public string Vglbatch { get; set; }
        public Nullable<double> Ps_vat_rate { get; set; }
        public Nullable<bool> Galileo { get; set; }
        public string Invoicerem { get; set; }
        public string Reportrem { get; set; }
        public bool Printed { get; set; }
        public string Project { get; set; }
        public short Invoicemode { get; set; }
        public bool Applyvat { get; set; }
        public string Tsfdestloc { get; set; }
        public Nullable<int> Ps_pj_project { get; set; }
        public Nullable<int> Ps_repairjob { get; set; }
        public string Ps_approval { get; set; }
        public string Ps_vend { get; set; }
        public string Ps_desc { get; set; }
        public int Spid { get; set; }
    }
}
